package com.link.base.base.member.service;

import com.link.base.base.member.model.GiftCardPage;
import com.link.base.wechat.wxcard.model.Page;
import com.link.core.basic.service.BasicService;

import java.util.Map;

/**
 * 礼品卡货架对象
 *
 * @author 路江
 * @date 2019/03/02 10:25
 */
public interface GiftCardPageService extends BasicService<GiftCardPage> {

    /**
     * 创建-礼品卡货架接口
     *
     * @author lujiang
     * @date 2019-03-01 19：00
     * @param page
     * @param row_status 新建或修改
     * @return
     * @throws Exception
     */
    Map<String,Object> createGiftCardPage(Page page,String row_status) throws Exception;

    /**
     * 查询-礼品卡货架接口
     *
     * @author lujiang
     * @date 2019-03-01 19：00
     * @param page
     * @return
     * @throws Exception
     */
    Map<String,Object> queryGiftCardPageById(GiftCardPage page) throws Exception;

    /**
     * 删除礼品卡货架（本地删除）
     *
     * @author lujiang
     * @date 2019-03-06 9：00
     * @param page 礼品卡货架对象
     * @throws Exception
     */
    void deleteCardPage(GiftCardPage page) throws Exception;

    /**
     * 通过page_id 查询货架信息详情
     *
     * @author lujiang
     * @date 2019-03-06 9：00
     * @param page
     * @return
     * @throws Exception
     */
    public GiftCardPage queryPageByPageId(GiftCardPage page) throws Exception;
}
